Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

Clearing the metadata cache

To improve performance when reading from the Landing Zone or from the Storage Zone, Compose caches both the Landing Zone metadata and the Storage Zone metadata. However, synchronization issues may sometimes occur if the structure of the Landing Zone or the Storage Zone metadata is altered outside of the Compose project.

If you aware of external changes to the metadata or if you notice any data synchronization anomalies, Compose enables you to clear the metadata cache, either using the web console or using the CLI.

Clearing the landing zone metadata cache

To clear the landing zone metadata cache and refresh the mappings on the next reading of the metadata:

  1. Click the Manage button at the bottom left of the Storage Zone panel.
  2. Click the Clear Landing Cache button in the Manage Storage Tasks window.

See also the section describing how to clear the cache before discover.

Clearing the storage zone metadata cache

To clear the storage zone metadata cache:

  1. In the Storage Zone panel, select the Clear Metadata Cache item from the menu in the top right corner.
  2. Click Yes to clear the storage zone metadata.
  3. When the storage zone metadata cache has been successfully cleared, click Close.

Clearing the metadata cache using the CLI

You can also clear the metadata cache using the CLI.

Command syntax:

ComposeCli.exe clear_cache --project project_name [--type landing|storage] [--landing_zone source_name]

Parameters

Parameter Description
--project The name of the project.
--type

Which type of metadata cache to clear. Possible values are:

  • landing

  • storage

     

    If --type landing and you want to clear a specific landing zone, you must set the --landing_zone parameter as well. To clear the metadata cache in all landing zones, specify --type landing and omit the --landing_zone parameter.

--landing_zone the name of the landing zone when --type landing_zone

Example

ComposeCli.exe clear_cache --project MyProject --type landing --landing_zone MySource1

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!